package com.dream.service.recommender.base.entity;

import java.util.List;

/**
 * Created by zhiji on 2016/04/25.
 * 线程池返回结果
 */
public class ThreadResult<T> {
    private String name;
    private T result;
    private List<String> error_msg;

    public ThreadResult(){

    }
    public ThreadResult(String name){
        setName(name);
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public List<String> getError_msg() {
        return error_msg;
    }

    public void setError_msg(List<String> error_msg) {
        this.error_msg = error_msg;
    }
}
